package com.zodiac.app.szse;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class Financial {
    // 项目编号
    @JSONField
    private Integer no;
    // 项目名称
    @JSONField(ordinal = 1)
    private String name;
    // 当期
    @JSONField(ordinal = 2)
    private String current;
    // 上期
    @JSONField(ordinal = 3)
    private String previous;

    public Financial(String name) {
        this.name = name;
    }

    public Financial(String name, String current, String previous) {
        this.name = name;
        this.current = current;
        this.previous = previous;
    }
}